#ifndef VoERxVadCallbackImpl_H
#define VoERxVadCallbackImpl_H

#include "jni_api.h"
#include "voe_audio_processing.h"

class VoERxVadCallbackImpl : public webrtc::VoERxVadCallback, public JniCallbackGlobal
{
public:
	VoERxVadCallbackImpl(void);
	~VoERxVadCallbackImpl(void);

protected:	//JniCallbackBase
	virtual bool init_jni(JNIEnv* env);

public:
	virtual void OnRxVad(int channel, int vadDecision);

protected:
	jmethodID m_mid_OnRxVad;
};

#endif //!VoERxVadCallbackImpl_H
